﻿<navigation:Page x:Class="MVVM_S.Samples.HelpDesk.Views.DataForm" 
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
				 xmlns:vm="clr-namespace:MVVM_S.Samples.HelpDesk.ViewModels"
           mc:Ignorable="d"
           xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
           d:DesignWidth="640" d:DesignHeight="480"
           Title="DataForm Page"
				 xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit">
	<navigation:Page.Resources>
		<vm:OpenTicketViewModel x:Key="ticketsVM" />
	</navigation:Page.Resources>
    <Grid x:Name="LayoutRoot" DataContext="{Binding Source={StaticResource ticketsVM}}">
		<toolkit:DataForm Margin="24,44,39,29"
						  Name="dataForm1"
						  ItemsSource="{Binding Path=OpenTickets}" />
	</Grid>
</navigation:Page>
